﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GdHotel.Data;

namespace UniqueTechnologies.Data.Interfaces
{
    public interface IRepository<T> : IDisposable
    {
        IQueryable<T> FindAll();
        IQueryable<T> FindAllByLang(Language lang);
        T GetById(Int32 id);
        void Insert(T entity);
        void Delete(T entity);
        void Save();
    }
}
